<!--
* @FileDescription: 自定义提示框组件
* @Author: yuec621@outlook.com
* @Date: 2025-04-23 13:34:17
* @LastEditors: Please set LastEditors
* @LastEditTime: 2025-04-23 13:34:17
-->
<template>
    <el-dialog v-model="statetihuanTempShow" width="260px" :show-close="false">
        <div classs="confirmBox" style="
            text-align: center;">
            <slot name="confirmImg">
            </slot>
            <p style="font-size: 16px;font-weight: bold;margin: 40px 0;">
                <slot name="confirmTip">
                </slot>
            </p>
            <slot name="confirmBtn">
            </slot>
        </div>
    </el-dialog>
</template>
<script>
    import {
        defineComponent,
        computed,
        watchEffect,
        ref
    } from "vue";

    export default defineComponent({
        props: {
            tihuanTempShow: {
                type: Boolean,
                default: false,
            },
        },
        setup(props) {
            let statetihuanTempShow=ref(false)
            watchEffect(() => {
                statetihuanTempShow.value=props.tihuanTempShow
            })
            return {
                statetihuanTempShow
            }
        }
    });
</script>